<div class = "main-view">

    <div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">导出小区大使信息</strong></div>
    <br>
    <script>

        var fromDate = $('#startDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.startDateSelect = ev.date.format('yyyy-MM-dd');
            $("#startDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var toDate = $('#endDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.endDateSelect = ev.date.format('yyyy-MM-dd');
            $("#endDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });
    </script>

    <form class="am-form-inline left-margin top-margin" role="form">

        <!--  生成小区大使信息Excel -->
        <label class="left-margin">开始日期:</label>
        <input type="text" id="startDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">
        <label class="left-margin">结束日期：</label>
        <input type="text" id="endDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

    </form>

    <br>
    <button id="submitModeratorManagerInfoData" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="exportModeratorManagerDataInfo()">导出小区大使信息</button>
    <div class="alert" style="background: black;opacity: 0.2;position: fixed;top: 0;left: 0;right: 0;bottom:0;display: none ">
        <div class="mian" style="width: 50px;height: 200px;color: white;margin: 20% auto"><img src="../../img/jiazai.gif"></div>
    </div>
</div>